<nav class="navbar">
  <div class="navbar-header navbar__header">
      <a href="#" class="navbar-brand">
        <img class="brand__logo" src="<%= require('images/logo.png') %>" alt="伟仕小贷">
        <span class="brand__secondary">企业金融</span>
      </a>
    </div>
    <% var tplConfig = htmlWebpackPlugin.options.data.tplConfig -%>
    <div class="navbar__nav">
      <ul class="nav navbar-nav">
        <li class="<%= tplConfig && tplConfig.header && tplConfig.header.active === 'home' ? 'active' : '' %>">
          <a href="">首页</a>
        </li>
        <li class="<%= tplConfig && tplConfig.header && tplConfig.header.active === 'product' ? 'active' : '' %>">
          <a href="">产品</a>
        </li>
        <li class="<%= tplConfig && tplConfig.header && tplConfig.header.active === 'order' ? 'active' : '' %>">
          <a href="">订单管理</a>
        </li>
        <li class="<%= tplConfig && tplConfig.header && tplConfig.header.active === 'enterprise' ? 'active' : '' %>">
          <a href="">我的企业</a>
        </li>
      </ul>

      <ul class="nav navbar-nav navbar-right navbar__account">
        <li>
          <div class="">
            <i class="account__avatar"></i>
            您好，请登录
          </div>
        </li>
      </ul>
    </div>
</nav>